<#import "/spring.ftl" as spring />
<html>
<head>

</head>
<body>

<div id="content">

	<#include "include-menu.ftl" />
	<h1>ADMIN HOME</h1>
	
	<span class="error">${RequestParameters.message!}</span>
	
	<div class="databoxWrapper">
		<div class="databox">
			<h2>MY INSPECTION COMPANIES</h2>
	
			<table class="databoxStandardTable">
				<tr>
					<th>short name</th>
					<th>name</th>
					<th>actions</th>
				</tr>
				<#list inspectorCompanies as company>
						<tr>
							<td>${company.shortName}</td>
							<td>${company.name}</td>
							<td>
								<a href="<@spring.url "/inspector/deleteInspectorCompany1.html?id=${company.id}" />" >delete ${company.shortName}</a> |
								<a href="<@spring.url "/inspector/viewInspectorCompany.html?id=${company.id}" />" >view</a> 
							</td>
						</tr>
				</#list>
			</table>
						
		</div>					
	</div>
	<p />

<a href="/it/">back to inspector time</a>
</div>

</body>
</html>
